package com.itcam.controller;

import com.itcam.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author:Cammy.Wu
 * Date:2024-05-07
 * Description:
 */

@RestController
@RequestMapping("user")
public class UserController {

    @Autowired
    private User user;

    @GetMapping("show")
    public User show(){
        return user;
    }

}
